package com.meilai.project.entity.business.customer;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.meilai.project.core.bean.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * <p>
 * 客户入库信息表
 * </p>
 *
 * @author xhy
 * @since 2022-02-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("customer_put_storage")
public class CustomerPutStorage extends SuperEntity {

    /**
     * 客户ID
     */
    private Long customer_id;

    /**
     * 抬头
     */
    private String company_head;

    /**
     * 时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    /**
     * 登录账号
     */
    private String login_account;

    /**
     * 密码
     */
    private String password;

    /**
     * 联系人
     */
    private String link_user;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 联系邮箱
     */
    private String email;

    /**
     * 网址
     */
    private String website;
}
